package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 预约信息对象 yh_appointment
 *
 * @author ruoyi
 * @date 2023-03-20
 */
public class YhAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private String studentId;

    /** 部门 */
    /*@Excel(name = "部门")*/
    private String department;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    /*@Excel(name = "性别")*/
    private String gender;

    /** 电话 */
    /*@Excel(name = "电话")*/
    private String phone;

    /*身份证号 */
   /* @Excel(name = "身份证号")*/
    private String idCard;

    /** 指导教师姓名 */
    /*@Excel(name = "指导教师姓名")*/
    private String teacherName;

    /** 指导教师工号 */
    /*@Excel(name = "指导教师工号")*/
    private String teacherId;

    /** 协助人姓名 */
    @Excel(name = "协助人姓名")
    private String assistName;

    /** 协助人工号 */
    @Excel(name = "协助人工号")
    private String assistId;

    /** 设备类别 */
    @Excel(name = "设备类别", readConverterExp="001=会议室,002=成分分析,003=微区分析,004=感官分析,005=物性分析,006=分子生物学分析,007=微生物分析,008=常规分析,009=前处理仪器设备,010=离心分离分析,011=分析软件,012=其他")
    private String equipmentType;

    /** 领用单位 */
    @Excel(name = "领用单位")
    private String applicationDepartment;

    /** 仪器编号 */
    @Excel(name = "仪器编号")
    private String instrumentId;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String instrumentName;

    /** 型号 */
    @Excel(name = "型号")
    private String modelNumber;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 单价 */
    @Excel(name = "单价")
    private String unitPrice;

    /** 分类号 */
    @Excel(name = "分类号")
    private String classifyNumber;

    /** 购置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseDate;

    /** 领用人工号 */
    @Excel(name = "领用人工号")
    private String receiverId;

    /** 领用人姓名 */
    @Excel(name = "领用人姓名")
    private String receiverName;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufacturers;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storageDate;

    /** 存放地名称 */
    @Excel(name = "存放地名称")
    private String storageLocation;

    /** 经费科目 */
    @Excel(name = "经费科目",readConverterExp="0=科研,1=教学,")
    private String expenditureSubject;

    /** 使用方向 */
    @Excel(name = "使用方向",readConverterExp="0=科研,1=教学,")
    private String useDirection;

    /** 首次使用 */
    @Excel(name = "首次使用",readConverterExp="0=是,1=否,")
    private String firstUse;

    /** 开始使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始使用时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appointmentStart;

    /** 结束使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束使用时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appointmentEnd;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sbumitTime;

    /** 审核状态 */
    @Excel(name = "审核状态", readConverterExp="0=待审核,1=审核通过,2=审核未通过,3=预约取消")
    private String auditStatus;

    /** 教师审核结果 */
    /*@Excel(name = "教师审核结果", readConverterExp="0=待审核,1=审核通过,2=审核未通过")*/
    private String teacherResult;

    /** 领用人审核结果 */
    @Excel(name = "领用人审核结果", readConverterExp="0=待审核,1=审核通过,2=审核未通过")
    private String adminResult;

    /** 协助人审核结果 */
    @Excel(name = "协助人审核结果", readConverterExp="0=待审核,1=审核通过,2=审核未通过")
    private String assistResult;


    /** 教师审核时间 */
    /*@JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "教师审核时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date teacherTime;

    /** 管理审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用人审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date adminTime;

    /** 协助人审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "协助人审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assistTime;

    /** 用户ID */
    /*@Excel(name = "用户ID")*/
    private Long userId;

    /** 部门ID */
    /*@Excel(name = "部门ID")*/
    private Long deptId;

    /** 备注1 */
    /*@Excel(name = "备注1")*/
    private String note1;

    /** 备注2 */
    /*@Excel(name = "备注2")*/
    private String note2;

    /** 备注3 */
    /*@Excel(name = "备注3")*/
    private String note3;

    /** 备注4 */
    /*@Excel(name = "备注4")*/
    private String note4;

    /** 备注5 */
    /*@Excel(name = "备注5")*/
    private String note5;

    /** 备注6 */
    /*@Excel(name = "备注6")*/
    private String note6;

    /** 备注7 */
    /*@Excel(name = "备注7")*/
    private String note7;

    /** 备注8 */
    /*@Excel(name = "备注8")*/
    private String note8;

    /** 备注9 */
    /*@Excel(name = "备注9")*/
    private String note9;

    /** 备注10 */
    /*@Excel(name = "备注10")*/
    private String note10;

    /** 查询开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    /** 查询结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime()
    {
        return beginTime;
    }

    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }
    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setTeacherName(String teacherName)
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName()
    {
        return teacherName;
    }
    public void setTeacherId(String teacherId)
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId()
    {
        return teacherId;
    }

    public void setAssistName(String assistName) { this.assistName = assistName; }

    public String getAssistName() { return assistName; }
    public void setAssistId(String assistId) { this.assistId = assistId; }

    public String getAssistId() { return assistId; }

    public void setEquipmentType(String equipmentType)
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType()
    {
        return equipmentType;
    }
    public void setApplicationDepartment(String applicationDepartment)
    {
        this.applicationDepartment = applicationDepartment;
    }

    public String getApplicationDepartment()
    {
        return applicationDepartment;
    }
    public void setInstrumentId(String instrumentId)
    {
        this.instrumentId = instrumentId;
    }

    public String getInstrumentId()
    {
        return instrumentId;
    }
    public void setInstrumentName(String instrumentName)
    {
        this.instrumentName = instrumentName;
    }

    public String getInstrumentName()
    {
        return instrumentName;
    }
    public void setModelNumber(String modelNumber)
    {
        this.modelNumber = modelNumber;
    }

    public String getModelNumber()
    {
        return modelNumber;
    }
    public void setSpecification(String specification)
    {
        this.specification = specification;
    }

    public String getSpecification()
    {
        return specification;
    }
    public void setUnitPrice(String unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public String getUnitPrice()
    {
        return unitPrice;
    }
    public void setClassifyNumber(String classifyNumber)
    {
        this.classifyNumber = classifyNumber;
    }

    public String getClassifyNumber()
    {
        return classifyNumber;
    }
    public void setPurchaseDate(Date purchaseDate)
    {
        this.purchaseDate = purchaseDate;
    }

    public Date getPurchaseDate()
    {
        return purchaseDate;
    }
    public void setReceiverId(String receiverId)
    {
        this.receiverId = receiverId;
    }

    public String getReceiverId()
    {
        return receiverId;
    }
    public void setReceiverName(String receiverName)
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName()
    {
        return receiverName;
    }
    public void setManufacturers(String manufacturers)
    {
        this.manufacturers = manufacturers;
    }

    public String getManufacturers()
    {
        return manufacturers;
    }
    public void setStorageDate(Date storageDate)
    {
        this.storageDate = storageDate;
    }

    public Date getStorageDate()
    {
        return storageDate;
    }
    public void setStorageLocation(String storageLocation)
    {
        this.storageLocation = storageLocation;
    }

    public String getStorageLocation()
    {
        return storageLocation;
    }
    public void setExpenditureSubject(String expenditureSubject)
    {
        this.expenditureSubject = expenditureSubject;
    }

    public String getExpenditureSubject()
    {
        return expenditureSubject;
    }
    public void setUseDirection(String useDirection)
    {
        this.useDirection = useDirection;
    }

    public String getUseDirection()
    {
        return useDirection;
    }
    public void setFirstUse(String firstUse)
    {
        this.firstUse = firstUse;
    }

    public String getFirstUse()
    {
        return firstUse;
    }
    public void setAppointmentStart(Date appointmentStart)
    {
        this.appointmentStart = appointmentStart;
    }

    public Date getAppointmentStart()
    {
        return appointmentStart;
    }
    public void setAppointmentEnd(Date appointmentEnd)
    {
        this.appointmentEnd = appointmentEnd;
    }

    public Date getAppointmentEnd()
    {
        return appointmentEnd;
    }
    public void setSbumitTime(Date sbumitTime)
    {
        this.sbumitTime = sbumitTime;
    }

    public Date getSbumitTime()
    {
        return sbumitTime;
    }
    public void setAuditStatus(String auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus()
    {
        return auditStatus;
    }
    public void setTeacherResult(String teacherResult)
    {
        this.teacherResult = teacherResult;
    }

    public String getTeacherResult()
    {
        return teacherResult;
    }
    public void setAdminResult(String adminResult)
    {
        this.adminResult = adminResult;
    }

    public String getAdminResult()
    {
        return adminResult;
    }

    public void setAssistResult(String assistResult) { this.assistResult = assistResult; }

    public String getAssistResult() { return assistResult; }
    public void setTeacherTime(Date teacherTime)
    {
        this.teacherTime = teacherTime;
    }

    public Date getTeacherTime()
    {
        return teacherTime;
    }
    public void setAdminTime(Date adminTime)
    {
        this.adminTime = adminTime;
    }

    public Date getAdminTime()
    {
        return adminTime;
    }
    public void setAssistTime(Date assistTime) { this.assistTime = assistTime; }

    public Date getAssistTime() { return assistTime; }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setNote1(String note1)
    {
        this.note1 = note1;
    }

    public String getNote1()
    {
        return note1;
    }
    public void setNote2(String note2)
    {
        this.note2 = note2;
    }

    public String getNote2()
    {
        return note2;
    }
    public void setNote3(String note3)
    {
        this.note3 = note3;
    }

    public String getNote3()
    {
        return note3;
    }
    public void setNote4(String note4)
    {
        this.note4 = note4;
    }

    public String getNote4()
    {
        return note4;
    }
    public void setNote5(String note5)
    {
        this.note5 = note5;
    }

    public String getNote5()
    {
        return note5;
    }
    public void setNote6(String note6)
    {
        this.note6 = note6;
    }

    public String getNote6()
    {
        return note6;
    }
    public void setNote7(String note7)
    {
        this.note7 = note7;
    }

    public String getNote7()
    {
        return note7;
    }
    public void setNote8(String note8)
    {
        this.note8 = note8;
    }

    public String getNote8()
    {
        return note8;
    }
    public void setNote9(String note9)
    {
        this.note9 = note9;
    }

    public String getNote9()
    {
        return note9;
    }
    public void setNote10(String note10)
    {
        this.note10 = note10;
    }

    public String getNote10()
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("studentId", getStudentId())
                .append("department", getDepartment())
                .append("name", getName())
                .append("gender", getGender())
                .append("phone", getPhone())
                .append("idCard", getIdCard())
                .append("teacherName", getTeacherName())
                .append("teacherId", getTeacherId())
                .append("assistName", getAssistName())
                .append("assistId", getAssistId())
                .append("equipmentType", getEquipmentType())
                .append("applicationDepartment", getApplicationDepartment())
                .append("instrumentId", getInstrumentId())
                .append("instrumentName", getInstrumentName())
                .append("modelNumber", getModelNumber())
                .append("specification", getSpecification())
                .append("unitPrice", getUnitPrice())
                .append("classifyNumber", getClassifyNumber())
                .append("purchaseDate", getPurchaseDate())
                .append("receiverId", getReceiverId())
                .append("receiverName", getReceiverName())
                .append("manufacturers", getManufacturers())
                .append("storageDate", getStorageDate())
                .append("storageLocation", getStorageLocation())
                .append("expenditureSubject", getExpenditureSubject())
                .append("useDirection", getUseDirection())
                .append("firstUse", getFirstUse())
                .append("appointmentStart", getAppointmentStart())
                .append("appointmentEnd", getAppointmentEnd())
                .append("sbumitTime", getSbumitTime())
                .append("auditStatus", getAuditStatus())
                .append("teacherResult", getTeacherResult())
                .append("adminResult", getAdminResult())
                .append("assistResult", getAssistResult())
                .append("teacherTime", getTeacherTime())
                .append("adminTime", getAdminTime())
                .append("assistTime", getAssistTime())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("note1", getNote1())
                .append("note2", getNote2())
                .append("note3", getNote3())
                .append("note4", getNote4())
                .append("note5", getNote5())
                .append("note6", getNote6())
                .append("note7", getNote7())
                .append("note8", getNote8())
                .append("note9", getNote9())
                .append("note10", getNote10())
                .append("beginTime", getBeginTime())
                .append("endTime", getEndTime())
                .toString();
    }
}
